﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrl_vl_left_kdt_ds_ketqua.ascx.cs" Inherits="web_Controls_ctrl_vl_left_kdt_ds_ketqua" %>
<div id="vl_left_news_main">
	<div class="vl_left_news_main_tt">DANH SÁCH ĐƯỢC CHỌN VÀO KHOÁ HỌC <asp:Label ID="lbl_ten_khoahoc" runat="server"></asp:Label></div>
	<div id="vl_left_news_main_ct" style="padding:20px;">
	    <table cellspacing="0" cellpadding="4" rules="all" border="1" style="border-color:buttonface;width:100%;border-collapse:collapse;border-color:#999999;" id="tbl_detail"> 
	    <asp:Repeater ID="rpt_ds_kq" runat="server">
	        <HeaderTemplate>
	            <tr align="center" valign="middle" style="background:#FF9900;color:#FFFFFF;font-weight:bold;"> 
				    <td>Tên học viên</td> 
				    <td>Ngày sinh</td>
				    <td>Giới tính</td>
				    <td>Địa chỉ</td>
				    <td>Điện thoại</td>
				    <td>Email</td>
			    </tr> 
	        </HeaderTemplate>
	        <ItemTemplate>
				<tr>
				    <td><%#DataBinder.Eval(Container.DataItem, "ten_day_du")%></td>
				    <td><%#string.Format("{0:dd/MM/yyyy}", DateTime.Parse(DataBinder.Eval(Container.DataItem, "ngay_sinh").ToString()))%></td>
				    <td><%#DataBinder.Eval(Container.DataItem, "gioi_tinh")%></td>
				    <td><%#DataBinder.Eval(Container.DataItem, "dia_chi")%></td>
				    <td><%#DataBinder.Eval(Container.DataItem, "dien_thoai")%></td>
				    <td><%#DataBinder.Eval(Container.DataItem, "email")%></td>
				</tr>
	        </ItemTemplate>
	    </asp:Repeater>
	    </table>
	</div>
	<div id="vl_left_news_detail_other">
	    <div class="vl_left_news_detail_other">KHOÁ ĐÀO TẠO KHÁC</div>
	    <ul>
	        <asp:Repeater ID="rpt_news_other" runat="server">
	            <ItemTemplate>
	                <li><a href="Default.aspx?page=kdt_chitiet&id=<%#DataBinder.Eval(Container.DataItem, "ma_khoa_dt") %>"><%#DataBinder.Eval(Container.DataItem, "ten_khoa_dt")%> </a></li>
	            </ItemTemplate>
	        </asp:Repeater>
	    </ul>
	</div>
</div>
<style>
    #vl_left_news_detail_other li {
        position:relative;
    }
</style>
<script>
    function ShowContent(isshow, id)
    {
        if(isshow)
        document.getElementById('showcontent'+id).style.display='block';
        else document.getElementById('showcontent'+id).style.display='none';
    }
</script>